package com.tzxs.pay.main;

import java.util.HashMap;
import java.util.Map;

/**
 * 用户名 huhh
 * 时间  2018/9/14
 * 功能模块 存放请求头的集合
 **/
public class MapUtil {

    private  Map<String,String> map=new HashMap<>();
    private static volatile MapUtil instance;


    public static MapUtil getInstance() {

        synchronized (MapUtil.class){
            if (instance==null){
                instance= new MapUtil();
            }
        }

        return instance;
    }

    public Map<String, String> getMap() {
        return map;
    }

    public void setMap(Map<String, String> map) {
        this.map = map;
    }
}
